rust-debcargo (2.6.0-2) unstable; urgency=medium
authorFabian Gruenbichler <debian@fabian.gruenbichler.email>
Thu, 12 Jan 2023 16:33:49 +0000 (16:33 +0000)
committerFabian Gruenbichler <debian@fabian.gruenbichler.email>
Thu, 12 Jan 2023 16:33:49 +0000 (16:33 +0000)
  * Team upload.
  * Rebuild debcargo 2.6.0 with cargo 0.66.0

[dgit import unpatched rust-debcargo 2.6.0-2]

15 files changed:
1  2 
debian/cargo-checksum.json
debian/changelog
debian/compat
debian/control
debian/copyright
debian/copyright.debcargo.hint
debian/debcargo.examples
debian/debcargo.toml
debian/patches/series
debian/patches/update-cargo.patch
debian/rules
debian/rules.debcargo.hint
debian/source/format
debian/tests/control
debian/watch

index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..b5623bef13f0cabc72d178427454a2756ea0236c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++{"package":"Could not get crate checksum","files":{}}
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..19fb404c41c278d4d07ff98f32b3d21db655bb9c
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,124 @@@
++rust-debcargo (2.6.0-2) unstable; urgency=medium
++
++  * Team upload.
++  * Rebuild debcargo 2.6.0 with cargo 0.66.0
++
++ -- Fabian Gruenbichler <debian@fabian.gruenbichler.email>  Thu, 12 Jan 2023 16:33:49 +0000
++
++rust-debcargo (2.6.0-1) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.6.0 from crates.io using debcargo 2.5.0
++
++ -- Fabian Gruenbichler <debian@fabian.gruenbichler.email>  Wed, 16 Nov 2022 10:08:41 +0100
++
++rust-debcargo (2.5.0-5) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.5.0 from crates.io using debcargo 2.5.0
++  * Bump textwrap dependency.
++
++ -- Peter Michael Green <plugwash@debian.org>  Sun, 30 Oct 2022 16:37:02 +0000
++
++rust-debcargo (2.5.0-4) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.5.0 from crates.io using debcargo 2.5.0
++  * Bump git2 dependency.
++
++ -- Peter Michael Green <plugwash@debian.org>  Sat, 08 Oct 2022 04:27:58 +0000
++
++rust-debcargo (2.5.0-3) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.5.0 from crates.io using debcargo 2.5.0
++  * Update dependencies for new textwrap version in Debian.
++
++ -- Peter Michael Green <plugwash@debian.org>  Mon, 14 Mar 2022 01:24:43 +0000
++
++rust-debcargo (2.5.0-2) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.5.0 from crates.io using debcargo 2.5.0
++  * Don't run the build-time tests on mips64el as they fail to link.
++
++ -- Peter Michael Green <plugwash@debian.org>  Mon, 29 Nov 2021 11:57:39 +0000
++
++rust-debcargo (2.5.0-1) unstable; urgency=medium
++
++  * Package debcargo 2.5.0 from crates.io using debcargo 2.5.0
++
++ -- Ximin Luo <infinity0@debian.org>  Thu, 11 Nov 2021 13:35:58 +0000
++
++rust-debcargo (2.4.4-1) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.4.4 from crates.io using debcargo 2.4.3
++  * Adjust dependencies for versions currently in sid.
++  * Revert cargo 0.49 related changes until rust-cargo is
++    updated in Debian.
++
++ -- Peter Michael Green <plugwash@debian.org>  Sat, 06 Feb 2021 18:12:33 +0000
++
++rust-debcargo (2.4.3-3) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.4.3 from crates.io using debcargo 2.4.3
++  * Bump dependency on git2 package, the old version is broken
++    with new libgit2 (Closes: 976658).
++
++ -- Peter Michael Green <plugwash@debian.org>  Mon, 07 Dec 2020 05:21:57 +0000
++
++rust-debcargo (2.4.3-2) unstable; urgency=medium
++
++  * Team upload.
++  * Package debcargo 2.4.3 from crates.io using debcargo 2.4.2
++  * Relax dependency on itertools
++
++ -- Peter Michael Green <plugwash@debian.org>  Tue, 01 Sep 2020 13:47:42 +0000
++
++rust-debcargo (2.4.3-1) unstable; urgency=medium
++
++  * Package debcargo 2.4.3 from crates.io using debcargo 2.4.2
++
++ -- Ximin Luo <infinity0@debian.org>  Sat, 18 Apr 2020 20:52:06 +0100
++
++rust-debcargo (2.4.2-1) unstable; urgency=medium
++
++  * Package debcargo 2.4.2 from crates.io using debcargo 2.4.2
++
++ -- Ximin Luo <infinity0@debian.org>  Wed, 08 Jan 2020 21:54:13 +0000
++
++rust-debcargo (2.4.1-1) unstable; urgency=medium
++
++  * Package debcargo 2.4.1 from crates.io using debcargo 2.4.1
++  * Closes: #945436, #945499, #945560, #947088.
++
++ -- Ximin Luo <infinity0@debian.org>  Fri, 03 Jan 2020 01:19:34 +0000
++
++rust-debcargo (2.4.0-1) unstable; urgency=medium
++
++  * Package debcargo 2.4.0 from crates.io using debcargo 2.4.0
++    (Closes: #931897)
++
++ -- Ximin Luo <infinity0@debian.org>  Thu, 15 Aug 2019 19:07:57 -0700
++
++rust-debcargo (2.2.10-1) unstable; urgency=medium
++
++  * Package debcargo 2.2.10 from crates.io using debcargo 2.2.10
++
++ -- Ximin Luo <infinity0@debian.org>  Sun, 20 Jan 2019 23:25:15 -0800
++
++rust-debcargo (2.2.9-2) unstable; urgency=medium
++
++  * Package debcargo 2.2.9 from crates.io using debcargo 2.2.9
++  * Add dependency on quilt.
++  * Install debcargo.toml.example as an example.
++
++ -- Ximin Luo <infinity0@debian.org>  Thu, 29 Nov 2018 22:33:36 -0800
++
++rust-debcargo (2.2.9-1) unstable; urgency=medium
++
++  * Package debcargo 2.2.9 from crates.io using debcargo 2.2.9
++
++ -- Ximin Luo <infinity0@debian.org>  Wed, 14 Nov 2018 21:03:02 -0800
diff --cc debian/compat
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..48082f72f087ce7e6fa75b9c41d7387daecd447b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++12
diff --cc debian/control
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..75f555034e71d231f97a88a43d431461d473ef4a
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,103 @@@
++Source: rust-debcargo
++Section: rust
++Priority: optional
++Build-Depends: debhelper (>= 12),
++ dh-cargo (>= 25),
++ cargo:native,
++ rustc:native,
++ libstd-rust-dev,
++ librust-ansi-term-0.12+default-dev,
++ librust-anyhow-1+default-dev,
++ librust-cargo-0.66+default-dev,
++ librust-chrono-0.4+default-dev,
++ librust-clap-3+cargo-dev,
++ librust-clap-3+default-dev,
++ librust-clap-3+derive-dev,
++ librust-env-logger-0.9+default-dev,
++ librust-filetime-0.2+default-dev,
++ librust-flate2-1+default-dev,
++ librust-git2-0.16+default-dev,
++ librust-glob-0.3+default-dev,
++ librust-itertools-0.10+default-dev,
++ librust-log-0.4+default-dev,
++ librust-regex-1+default-dev,
++ librust-semver-1+default-dev,
++ librust-serde-1+default-dev,
++ librust-serde-derive-1+default-dev,
++ librust-tar-0.4+default-dev,
++ librust-tempfile-3+default-dev,
++ librust-textwrap-0.16+default-dev,
++ librust-toml-0.5+default-dev,
++ librust-walkdir-2+default-dev,
++ rustc:native (>= 1.29)
++Maintainer: Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
++Uploaders:
++ Ximin Luo <infinity0@debian.org>
++Standards-Version: 4.6.1
++Vcs-Git: https://salsa.debian.org/rust-team/debcargo-conf.git [src/debcargo]
++Vcs-Browser: https://salsa.debian.org/rust-team/debcargo-conf/tree/master/src/debcargo
++X-Cargo-Crate: debcargo
++Rules-Requires-Root: no
++
++Package: librust-debcargo-dev
++Architecture: any
++Multi-Arch: same
++Depends:
++ ${misc:Depends},
++ librust-ansi-term-0.12+default-dev,
++ librust-anyhow-1+default-dev,
++ librust-cargo-0.66+default-dev,
++ librust-chrono-0.4+default-dev,
++ librust-clap-3+cargo-dev,
++ librust-clap-3+default-dev,
++ librust-clap-3+derive-dev,
++ librust-env-logger-0.9+default-dev,
++ librust-filetime-0.2+default-dev,
++ librust-flate2-1+default-dev,
++ librust-git2-0.16+default-dev,
++ librust-glob-0.3+default-dev,
++ librust-itertools-0.10+default-dev,
++ librust-log-0.4+default-dev,
++ librust-regex-1+default-dev,
++ librust-semver-1+default-dev,
++ librust-serde-1+default-dev,
++ librust-serde-derive-1+default-dev,
++ librust-tar-0.4+default-dev,
++ librust-tempfile-3+default-dev,
++ librust-textwrap-0.16+default-dev,
++ librust-toml-0.5+default-dev,
++ librust-walkdir-2+default-dev
++Provides:
++ librust-debcargo+default-dev (= ${binary:Version}),
++ librust-debcargo-2-dev (= ${binary:Version}),
++ librust-debcargo-2+default-dev (= ${binary:Version}),
++ librust-debcargo-2.6-dev (= ${binary:Version}),
++ librust-debcargo-2.6+default-dev (= ${binary:Version}),
++ librust-debcargo-2.6.0-dev (= ${binary:Version}),
++ librust-debcargo-2.6.0+default-dev (= ${binary:Version})
++Description: Create a Debian package from a Cargo crate - Rust source code
++ This package contains the source for the Rust debcargo crate, packaged by
++ debcargo for use with cargo and dh-cargo.
++
++Package: debcargo
++Architecture: any
++Multi-Arch: allowed
++Section: devel
++Depends:
++ ${misc:Depends},
++ ${shlibs:Depends},
++ ${cargo:Depends},
++ quilt
++Recommends:
++ ${cargo:Recommends},
++ dh-cargo
++Suggests:
++ ${cargo:Suggests}
++Provides:
++ ${cargo:Provides}
++Built-Using: ${cargo:Built-Using}
++XB-X-Cargo-Built-Using: ${cargo:X-Cargo-Built-Using}
++Description: Create a Debian package from a Cargo crate
++ This package contains the following binaries built from the Rust crate
++ "debcargo":
++  - debcargo
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f395ab33f0329ea34f9311a2882095cf8fe051dd
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,43 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: debcargo
++Upstream-Contact:
++ Josh Triplett <josh@joshtriplett.org>
++ Ximin Luo <infinity0@debian.org>
++ Vasudev Kamath <vasudev@copyninja.info>
++Source: https://salsa.debian.org/rust-team/debcargo
++
++Files: *
++Copyright:
++ 2016 Josh Triplett <josh@joshtriplett.org>
++ 2017-2018 Ximin Luo <infinity0@debian.org>
++ 2017-2018 Vasudev Kamath <vasudev@copyninja.info>
++License: MIT or Apache-2.0
++
++Files: debian/*
++Copyright:
++ 2018-2021 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
++ 2018 Ximin Luo <infinity0@debian.org>
++License: MIT or Apache-2.0
++
++License: Apache-2.0
++ Debian systems provide the Apache 2.0 license in
++ /usr/share/common-licenses/Apache-2.0
++
++License: MIT
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to deal
++ in the Software without restriction, including without limitation the rights
++ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++ copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in all
++ copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
++ SOFTWARE.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..3e91002f4e1ee587f9526c23eaf3a29ed6afad20
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,55 @@@
++Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
++Upstream-Name: debcargo
++Upstream-Contact:
++ Josh Triplett <josh@joshtriplett.org>
++ Ximin Luo <infinity0@debian.org>
++ Vasudev Kamath <vasudev@copyninja.info>
++Source: https://salsa.debian.org/rust-team/debcargo
++
++Files: *
++Copyright:
++ FIXME (overlay) UNKNOWN-YEARS Josh Triplett <josh@joshtriplett.org>
++ FIXME (overlay) UNKNOWN-YEARS Ximin Luo <infinity0@debian.org>
++ FIXME (overlay) UNKNOWN-YEARS Vasudev Kamath <vasudev@copyninja.info>
++License: MIT or Apache-2.0
++Comment:
++ FIXME (overlay): Since upstream copyright years are not available in
++ Cargo.toml, they were extracted from the upstream Git repository. This may not
++ be correct information so you should review and fix this before uploading to
++ the archive.
++
++Files: src/debian/licenses/AGPL-3.0
++Copyright: 2007 Free Software Foundation, Inc. <http://fsf.org/>
++License: UNKNOWN-LICENSE; FIXME (overlay)
++Comment:
++ FIXME (overlay): These notices are extracted from files. Please review them
++ before uploading to the archive.
++
++Files: debian/*
++Copyright:
++ 2018-2023 Debian Rust Maintainers <pkg-rust-maintainers@alioth-lists.debian.net>
++ 2018-2023 Ximin Luo <infinity0@debian.org>
++License: MIT or Apache-2.0
++
++License: Apache-2.0
++ Debian systems provide the Apache 2.0 license in
++ /usr/share/common-licenses/Apache-2.0
++
++License: MIT
++ Permission is hereby granted, free of charge, to any person obtaining a copy
++ of this software and associated documentation files (the "Software"), to deal
++ in the Software without restriction, including without limitation the rights
++ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
++ copies of the Software, and to permit persons to whom the Software is
++ furnished to do so, subject to the following conditions:
++ .
++ The above copyright notice and this permission notice shall be included in all
++ copies or substantial portions of the Software.
++ .
++ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
++ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
++ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
++ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
++ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
++ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
++ SOFTWARE.
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2bf9da92cdcd736c2acbc2b01c191393568a0948
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++debcargo.toml.example
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..333fd752f7f9045f7a54a73aa88f1b701c3dc365
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,10 @@@
++overlay = "."
++uploaders = ["Ximin Luo <infinity0@debian.org>"]
++
++[source]
++build_depends = ["rustc:native (>= 1.29)"]
++
++[packages.bin]
++section = "devel"
++depends = ["quilt"]
++recommends = ["dh-cargo"]
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..39bca2916d11d51973cf843062bc579b23c5fc00
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++update-cargo.patch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..2f69e91c9e89d5511bf60436ade50d4b8969ec8b
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,44 @@@
++Index: debcargo/Cargo.toml
++===================================================================
++--- debcargo.orig/Cargo.toml
+++++ debcargo/Cargo.toml
++@@ -31,7 +31,7 @@ version = "0.12"
++ version = "1.0"
++ 
++ [dependencies.cargo]
++-version = "0.63"
+++version = "0.66"
++ 
++ [dependencies.chrono]
++ version = "0.4"
++@@ -53,7 +53,7 @@ version = "0.2"
++ version = "1"
++ 
++ [dependencies.git2]
++-version = "0.14"
+++version = "0.16"
++ 
++ [dependencies.glob]
++ version = "0.3"
++diff --git a/src/crates.rs b/src/crates.rs
++index c57a61f..e5dc842 100644
++--- a/src/crates.rs
+++++ b/src/crates.rs
++@@ -60,7 +60,7 @@ fn hash<H: Hash>(hashable: &H) -> u64 {
++ }
++ 
++ fn fetch_candidates(registry: &mut PackageRegistry, dep: &Dependency) -> Result<Vec<Summary>> {
++-    let mut summaries = match registry.query_vec(dep, false) {
+++    let mut summaries = match registry.query_vec(dep, cargo::core::QueryKind::Exact) {
++         std::task::Poll::Ready(res) => res?,
++         std::task::Poll::Pending => {
++             registry.block_until_ready()?;
++@@ -125,7 +125,7 @@ impl CrateInfo {
++                     let dep = Dependency::parse(crate_name, None, source_id)?;
++                     let mut package_id: Option<PackageId> = None;
++                     loop {
++-                        match source.query(&dep, &mut |p| package_id = Some(p.package_id())) {
+++                        match source.query(&dep, cargo::core::QueryKind::Exact, &mut |p| package_id = Some(p.package_id())) {
++                             std::task::Poll::Ready(res) => {
++                                 res?;
++                                 break;
diff --cc debian/rules
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f7c4337bca8f5e2dfff5fcc65ea095da21f932ed
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,10 @@@
++#!/usr/bin/make -f
++include /usr/share/dpkg/architecture.mk
++
++%:
++      dh $@ --buildsystem cargo
++
++override_dh_auto_test:
++ifneq ($(DEB_HOST_ARCH),mips64el)
++      dh_auto_test -- test --all
++endif
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..92c239b45f1d2bec0e55c9ee46841afaf23807ea
new file mode 100755 (executable)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,6 @@@
++#!/usr/bin/make -f
++%:
++      dh $@ --buildsystem cargo
++
++override_dh_auto_test:
++      dh_auto_test -- test --all
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..163aaf8d82b6c54f23c45f32895dbdfdcc27b047
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,1 @@@
++3.0 (quilt)
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..9b795a098698801ca28f02ffe98b16fc4ee4b917
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,14 @@@
++Test-Command: /usr/share/cargo/bin/cargo-auto-test debcargo 2.6.0 --all-targets --all-features
++Features: test-name=rust-debcargo:@
++Depends: dh-cargo (>= 18), @
++Restrictions: allow-stderr, skip-not-installable
++
++Test-Command: /usr/share/cargo/bin/cargo-auto-test debcargo 2.6.0 --all-targets
++Features: test-name=librust-debcargo-dev:default
++Depends: dh-cargo (>= 18), @
++Restrictions: allow-stderr, skip-not-installable
++
++Test-Command: /usr/share/cargo/bin/cargo-auto-test debcargo 2.6.0 --all-targets --no-default-features
++Features: test-name=librust-debcargo-dev:
++Depends: dh-cargo (>= 18), @
++Restrictions: allow-stderr, skip-not-installable
diff --cc debian/watch
index 0000000000000000000000000000000000000000,0000000000000000000000000000000000000000..f8920cd8cfb1e170429d5f8a6dcfaab343e14714
new file mode 100644 (file)
--- /dev/null
--- /dev/null
@@@ -1,0 -1,0 +1,4 @@@
++version=4
++opts=filenamemangle=s/.*\/(.*)\/download/debcargo-$1\.tar\.gz/g,\
++uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/ \
++https://qa.debian.org/cgi-bin/fakeupstream.cgi?upstream=crates.io/debcargo .*/crates/debcargo/@ANY_VERSION@/download